<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

<form action="#" method="post">

<input type="text" name="user" >

<input type="password" name="password">

<input type="submit" value="提交">

</form>

${empty param.user?"用户名为null":"登录用户名"}
${empty param.password?"密码为null":"显示密码"}

</body>
</html>